<!-- end of left content -->
<div class="center_content">
    <div class="center_title_bar">Contact Us</div>
    <div class="prod_box_big">
        <div class="top_prod_box_big"></div>
        <div class="center_prod_box_big">
            <div class="contact_form">
                <?php if (Yii::app()->user->hasFlash('contact')): ?>
                    <div class="flash-success">
                        <?php echo Yii::app()->user->getFlash('contact'); ?>
                    </div>
                <?php else: ?>
                    <?php
                    $form = $this->beginWidget('CActiveForm', array(
                        'id' => 'contact-form',
                        'enableAjaxValidation' => true,
                    ));
                    ?>     
                    <div class="form_row">     
                        <strong>
                            <?php echo $form->labelEx($model, 'name', array('class' => 'contact')); ?>
                        </strong>
                        <?php echo $form->textField($model, 'name', array('class' => 'contact_input')) ?>    
                        <font color="red"> <?php echo $form->error($model, 'name'); ?> </font>
                    </div>
                    <br>
                    <div class="form_row">
                        <strong>
                            <?php echo $form->labelEx($model, 'email', array('class' => 'contact')); ?>
                        </strong>
                        <?php echo $form->textField($model, 'email', array('class' => 'contact_input')); ?>
                        <font color="red"><?php echo $form->error($model, 'email'); ?></font>
                    </div>
                    <br>
                    <div class="form_row">
                        <strong>
                            <?php echo $form->labelEx($model, 'phone', array('class' => 'contact')); ?>
                        </strong>
                        <?php echo $form->textField($model, 'phone', array('class' => 'contact_input')); ?>                        
                        <font color="red"><?php echo $form->error($model, 'phone'); ?></font>
                    </div>
                    <br>
                    <div class="form_row">
                        <strong>
                            <?php echo $form->labelEx($model, 'content', array('class' => 'contact')); ?>
                        </strong>
                        <?php echo $form->textArea($model, 'content', array('class' => 'contact_textarea')); ?>
                        <font color="red"><?php echo $form->error($model, 'content'); ?></font>
                    </div>
                    <br>
                    <?php if (CCaptcha::checkRequirements()): ?>
                        <div class="form_row">
                            <strong>
                                <?php echo $form->labelEx($model, 'verifyCode', array('class' => 'contact')); ?>
                            </strong>
                            <div>
                                <?php $this->widget('CCaptcha'); ?>
                                <?php echo $form->textField($model, 'verifyCode'); ?>
                            </div>
                        </div>
                    <?php endif; ?>
                     <div align="center" class="form_row">
                        <?php echo CHtml::submitButton(Yii::t('contact', 'Send'), array("class" => "contact1")); ?>
                    </div>
                    <?php $this->endWidget(); ?>
                <?php endif; ?>
            </div>


        </div>
        <div class="bottom_prod_box_big"></div>

    </div>
</div>
</div>
<!-- end of center content -->